import config from "../../config";

export default {
    getAsideTalkList: {
        url: `${config.API_PREFIX}/blog/getAsideTalkList`,
        name: "获取侧边栏评论列表",
        get: () => {
            const talkList = [
                {id: '', articleId: '', avatar: '', name: '', dateTime: '', content: ''},
            ]
            return new Promise((resolve) => resolve(talkList));
        }
    },
    getConsoleTalkList: {
        url: `${config.API_PREFIX}/blog/getConsoleTalkList`,
        name: "获取弹出层评论列表",
        get: () => {
            const talkList = [
                {id: "one", avatar: "https://cravatar.cn/avatar/?d=mp", name: "猴王", content: "您好，看你的站做的挺不错的，有没有出手的打算，想出手的话，联系QQ2605765954。", dateTime: "2023-12-18 13:17:13"},
                {id: "one", avatar: "https://cravatar.cn/avatar/?d=mp", name: "stonewu", content: "大佬，主题那里那个留言板咋搞啊😭", dateTime: "2023-12-12 13:30:59"},
                {id: "one", avatar: "https://cravatar.cn/avatar/?d=mp", name: "。。。", content: "请问伪静态需要设置吗，如果需要设置什么呢", dateTime: "2023-12-12 13:27:41"},
                {id: "one", avatar: "https://cravatar.cn/avatar/?d=mp", name: "林尽欢", content: "卧槽，发现一只好大好大的大佬，请问有什么交流群或者其他的，关注一下大佬。", dateTime: "2023-12-09 05:11:07"},
                {id: "one", avatar: "https://cravatar.cn/avatar/?d=mp", name: "Toint", content: "大佬，底部的备案悬挂是不是有问题啊", dateTime: "2023-12-08 16:01:23"},
                {id: "one", avatar: "https://cravatar.cn/avatar/?d=mp", name: "night", content: "页面内的文章目录怎么显示呢，没有这个参数配置", dateTime: "2023-12-07 15:30:07"}
            ]
            return new Promise((resolve) => resolve(talkList));
        }
    }
}